﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>蓝领</title>
<!---------------------------------- 页面基本设置禁止随意更改 ------------------------------------------>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="index" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<meta name="renderer" content="webkit" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!---------------------------------- 页面基本设置禁止随意更改 -------------------------------------------->
<!---------------------------------- 基础CSS类库可随意更改 ---------------------------------------------->
<link type="text/css" rel="stylesheet" href="{yun:}$config.sy_weburl{/yun}/app/template/wap/css/reset.css?v={yun:}$config.cachecode{/yun}" />
<link type="text/css" rel="stylesheet" href="{yun:}$config.sy_weburl{/yun}/app/template/wap/css/bl-job.css?v={yun:}$config.cachecode{/yun}" />
<!---------------------------------- 基础CSS类库可随意更改结束 -------------------------------------------->
<!---------------------------------- 基础js类库可随意更改 ---------------------------------------->
<script type="text/javascript" src="{yun:}$config.sy_weburl{/yun}/js/jquery-1.8.1.min.js?v={yun:}$config.cachecode{/yun}"></script>
<!---------------------------------- 基础js类库可随意更改 ---------------------------------------->
<!---------------------------------- 插件js类库不可随意更改 ---------------------------------------->
<script type="text/javascript" src="http://api.map.baidu.com/api?v=3.0&ak=g6i5EtiSZidSCvq9hj5YG75VvYrhBdil"></script>
<!---------------------------------- 插件js类库不可随意更改 ---------------------------------------->
<!--<script type="text/javascript">-->
		<!--var wapurl = '{yun:}url m=wap{/yun}';-->
<!--</script>-->
	<script>var weburl = '{yun:}url m=wap{/yun}';</script>
<style>
.mapbox{
	width:100%;
	height:100%;
	padding-bottom:100px;
	}
#companymap{
	width:100%;
	height:100%;
	}
.mapintro{
	background-color:#fff;
	}
.jobname{
	font-size:16px;
	color:#3c3c3c;
	height: 30px;
	padding: 6px 10px 0 10px;
	}
.jobpost{
	font-size:12px;
	color:#929292;
	height: 24px;
	padding: 0 10px;
	}
.mapintro .moreway{
	display:block;
	text-align: center;
	color: #3c3c3c;
	font-size: 16px;
	border-top: 1px solid #ccc;
	line-height: 40px;
	height: 40px;
	}
</style>

</head>
<body>
<div class="mapbox">
    <div id="companymap"></div>
    <div class="mapintro">
    	<div class="jobname">{yun:}$com.name{/yun}</div>
    	<div class="jobpost">{yun:}$com.address{/yun}</div>
        <!--<a href="map_bus.htm" class="moreway">查看路线</a>-->
		<a href="{yun:}url m=wap c=job a=jobmap id=$com.id type=bus{/yun}" class="moreway">查看路线</a>
    </div>

</div>

<!--地图配置开始-->
<script>
    function getmap(){
		// 百度地图API功能
		var x='{yun:}$com.x{/yun}';
		var y='{yun:}$com.y{/yun}';
		var point = new BMap.Point(x, y);
		
		//地图初始化
		var map = new BMap.Map("companymap");
		map.centerAndZoom(point, 11);
		
		var marker = new BMap.Marker(point);  // 创建标注
		map.addOverlay(marker);               // 将标注添加到地图中
		}
	         
	$(function(){
		getmap();
		})
</script>



<!--地图配置结束-->
</body>
</html>
